using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN HoSoEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: HoSoEntity</para>
	/// <para>Description: ClassHoSoEntity store data of table HoSo</para>
	///</summary>

	[DataContract]
	public partial class HoSoEntity{


		private bool _InternalChangedIsNullHoSo_ID=true;
		private bool _IsNullHoSo_ID=true;
		private bool _InternalChangedIsNullMaHoSo=true;
		private bool _IsNullMaHoSo=true;
		private bool _InternalChangedIsNullTenHoSo=true;
		private bool _IsNullTenHoSo=true;
		private bool _InternalChangedIsNullMoTaHoSo=true;
		private bool _IsNullMoTaHoSo=true;
		private bool _InternalChangedIsNullNopKhiNhapHoc=true;
		private bool _IsNullNopKhiNhapHoc=true;
		private int _HoSo_ID;
		private string _MaHoSo;
		private string _TenHoSo;
		private string _MoTaHoSo;
		private bool _NopKhiNhapHoc;
		[DataMember]
		public bool IsNullHoSo_ID{
			get{return _IsNullHoSo_ID;}
			set{if(!_InternalChangedIsNullHoSo_ID)_IsNullHoSo_ID=value;}
		}
		[DataMember]
		public bool IsNullMaHoSo{
			get{return _IsNullMaHoSo;}
			set{if(!_InternalChangedIsNullMaHoSo)_IsNullMaHoSo=value;}
		}
		[DataMember]
		public bool IsNullTenHoSo{
			get{return _IsNullTenHoSo;}
			set{if(!_InternalChangedIsNullTenHoSo)_IsNullTenHoSo=value;}
		}
		[DataMember]
		public bool IsNullMoTaHoSo{
			get{return _IsNullMoTaHoSo;}
			set{if(!_InternalChangedIsNullMoTaHoSo)_IsNullMoTaHoSo=value;}
		}
		[DataMember]
		public bool IsNullNopKhiNhapHoc{
			get{return _IsNullNopKhiNhapHoc;}
			set{if(!_InternalChangedIsNullNopKhiNhapHoc)_IsNullNopKhiNhapHoc=value;}
		}
		[DataMember]
		public int HoSo_ID{
			get{return _HoSo_ID;}
			set{
				_HoSo_ID=value;
				if(_HoSo_ID!=null){
					_IsNullHoSo_ID=false;
					_InternalChangedIsNullHoSo_ID=true;
				}
			}
		}
		[DataMember]
		public string MaHoSo{
			get{return _MaHoSo;}
			set{
				_MaHoSo=value;
				if(_MaHoSo!=null){
					_IsNullMaHoSo=false;
					_InternalChangedIsNullMaHoSo=true;
				}
			}
		}
		[DataMember]
		public string TenHoSo{
			get{return _TenHoSo;}
			set{
				_TenHoSo=value;
				if(_TenHoSo!=null){
					_IsNullTenHoSo=false;
					_InternalChangedIsNullTenHoSo=true;
				}
			}
		}
		[DataMember]
		public string MoTaHoSo{
			get{return _MoTaHoSo;}
			set{
				_MoTaHoSo=value;
				if(_MoTaHoSo!=null){
					_IsNullMoTaHoSo=false;
					_InternalChangedIsNullMoTaHoSo=true;
				}
			}
		}
		[DataMember]
		public bool NopKhiNhapHoc{
			get{return _NopKhiNhapHoc;}
			set{
				_NopKhiNhapHoc=value;
				if(_NopKhiNhapHoc!=null){
					_IsNullNopKhiNhapHoc=false;
					_InternalChangedIsNullNopKhiNhapHoc=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END HoSoEntityBase*****************************************/
	/*****************************************************************************************************/
}

